package com.mxw.gateway.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

/**
 * @Description TODO
 * @Author RingKo
 * @Date 2021/12/7 21:28
 * @Version 1.0
 */
@Configuration
@RefreshScope
@Data
public class GatewayAccessServiceConfig {
  @Value("${gateway.token.value}")
  private String gatewayTokenValue;

  @Value("${gateway.token.header}")
  private String gatewayTokenHeader;
}
